package indi.zhifa.study2025.oa.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.engine.core.common.entity.mpe.BaseEntity;
import indi.zhifa.study2025.oa.model.enums.EAppStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 定义一个个应用
 * </p>
 *
 * @author 芝麻酱
 * @since 2025-04-08
 */
@Data
@TableName("app")
@Schema(title = "GenAppEntity对象", description = "定义一个个应用")
public class GenAppEntity extends BaseEntity {

    @Schema(title = "应用码")
    private String code;

    @Schema(title = "应用名")
    private String name;

    @Schema(title = "描述")
    private String description;

    @Schema(title = "应用的uri")
    private String uri;

    @Schema(title = "应用的状态，1表示启用，0表示禁用")
    private EAppStatus status;

    @Schema(title = "根菜单节点Id")
    private Long rootMenuId;
}
